// Use the HttpRequest.Url.PathAndQuery Property to retrieve the absolute path and query like so: <%= Request.Url.PathAndQuery %>